package com.itc.bpm.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itc.common.core.validate.Add;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@TableName("bpm_process_communicate")
public class BpmProcessCommunicate extends BaseDO{
    /**
     * 编号
     */
    @TableId
    private Long id;
    @NotNull(message = "流程实例id不能为空")
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;
    @NotNull(message = "消息不能为空")
    @ApiModelProperty(value = "消息内容")
    private String message;

}
